import requests
url = 'https://www.pxc.jx.cn/'
headers={
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36'
    }
resp =requests.get(url,headers=headers)
resp.encoding ='utf-8'
page_text=resp.text
fo =open('萍乡学院.html','w',encoding='utf-8')
fo.write(page_text)
fo.close()
